package com.hzqy.persistence.dao.mysong;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.MySongSheetVo;
import com.hzqy.web.vo.PmsUserVo;

@Repository
public class MySongSheetDao extends PersistenceDao<PmsUserVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	
	public int insertMySongSheetInfo(MySongSheetVo mySongSheetVo) {
		return getSqlSession().insert(this.getNamespace() + "insertMySongSheetInfo", mySongSheetVo);
	}
	
	public int updataMySongSheetInfo(MySongSheetVo mySongSheetVo) {
		return getSqlSession().update(this.getNamespace() + "updataMySongSheetInfo", mySongSheetVo);
	}
	
	public MySongSheetVo selectMySongSheetVoInfo(Map<String,Object> map) {
		return getSqlSession().selectOne(this.getNamespace() + "selectMySongSheetVoInfo", map);
	}
}
